<%@ page contentType="text/html;charset=UTF-8" pageEncoding="utf-8" trimDirectiveWhitespaces="true" session="false" %>
<%@ taglib tagdir="/WEB-INF/tags" prefix="my" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="s" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags" %>

<fmt:message var="title" key="uzivatel.title"/>
<my:layout title="${title}">
<jsp:attribute name="body">

   <img src="users.png" width="200" height="200" alt="uzivatel" align="right">
<my:a href="/courier/list"><fmt:message key="index.courier.link"/></my:a>
    <br/>
 <sec:authorize access="hasAnyRole('ROLE_ADMIN')">    
<my:a href="/employee/list"><fmt:message key="index.employee.link"/></my:a>  
<br/>

   </sec:authorize>  
</jsp:attribute>
</my:layout>
